Freescale Semiconductor /MK22F12 /CAN0 /ESR1

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as ESR1

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (0)WAKINT 0 (0)ERRINT 0 (0)BOFFINT 0 (0)RX 0 (00)FLTCONF 0 (0)TX 0 (0)IDLE 0 (0)RXWRN 0 (0)TXWRN 0 (0)STFERR 0 (0)FRMERR 0 (0)CRCERR 0 (0)ACKERR 0 (0)BIT0ERR 0 (0)BIT1ERR 0 (0)RWRNINT 0 (0)TWRNINT 0 (0)SYNCH

FLTCONF=00, TWRNINT=0, BIT0ERR=0, IDLE=0, STFERR=0, TX=0, TXWRN=0, ACKERR=0, CRCERR=0, SYNCH=0, RX=0, WAKINT=0, ERRINT=0, RWRNINT=0, RXWRN=0, FRMERR=0, BIT1ERR=0, BOFFINT=0

Description

Error and Status 1 register

Fields

WAKINT

Wake-Up Interrupt

0 (0): No such occurrence.

1 (1): Indicates a recessive to dominant transition was received on the CAN bus.

ERRINT

Error Interrupt

0 (0): No such occurrence.

1 (1): Indicates setting of any Error Bit in the Error and Status Register.

BOFFINT

Bus Off Interrupt

0 (0): No such occurrence.

1 (1): FlexCAN module entered Bus Off state.

RX

FlexCAN In Reception

0 (0): FlexCAN is not receiving a message.

1 (1): FlexCAN is receiving a message.

FLTCONF

Fault Confinement State

0 (00): Error Active

1 (01): Error Passive

2 (1x): Bus Off

TX

FlexCAN In Transmission

0 (0): FlexCAN is not transmitting a message.

1 (1): FlexCAN is transmitting a message.

IDLE

This bit indicates when CAN bus is in IDLE state

0 (0): No such occurrence.

1 (1): CAN bus is now IDLE.

RXWRN

Rx Error Warning

0 (0): No such occurrence.

1 (1): RXERRCNT is greater than or equal to 96.

TXWRN

TX Error Warning

0 (0): No such occurrence.

1 (1): TXERRCNT is greater than or equal to 96.

STFERR

Stuffing Error

0 (0): No such occurrence.

1 (1): A Stuffing Error occurred since last read of this register.

FRMERR

Form Error

0 (0): No such occurrence.

1 (1): A Form Error occurred since last read of this register.

CRCERR

Cyclic Redundancy Check Error

0 (0): No such occurrence.

1 (1): A CRC error occurred since last read of this register.

ACKERR

Acknowledge Error

0 (0): No such occurrence.

1 (1): An ACK error occurred since last read of this register.

BIT0ERR

Bit0 Error

0 (0): No such occurrence.

1 (1): At least one bit sent as dominant is received as recessive.

BIT1ERR

Bit1 Error

0 (0): No such occurrence.

1 (1): At least one bit sent as recessive is received as dominant.

RWRNINT

Rx Warning Interrupt Flag

0 (0): No such occurrence.

1 (1): The Rx error counter transitioned from less than 96 to greater than or equal to 96.

TWRNINT

Tx Warning Interrupt Flag

0 (0): No such occurrence.

1 (1): The Tx error counter transitioned from less than 96 to greater than or equal to 96.

SYNCH

CAN Synchronization Status

0 (0): FlexCAN is not synchronized to the CAN bus.

1 (1): FlexCAN is synchronized to the CAN bus.

Links

() ()